<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of logout
 *
 * @author Nguyen Thai Binh
 */
class Logout extends CI_Controller {

  public function __construct() {
    parent::__construct();
  }

  public function index() {
    unset_userdata('provider_user_id');
    unset_userdata('provider_display_name');
    unset_userdata('provider_id');
    redirect('provider');
  }

}